

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
  <meta charset="utf-8" />
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  
  <title>必备知识 &mdash; Ceph Documentation</title>
  

  
  <link rel="stylesheet" href="../../../_static/ceph.css" type="text/css" />
  <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../../../_static/graphviz.css" type="text/css" />
  <link rel="stylesheet" href="../../../_static/css/custom.css" type="text/css" />

  
  
    <link rel="shortcut icon" href="../../../_static/favicon.ico"/>
  

  
  

  

  
  <!--[if lt IE 9]>
    <script src="../../../_static/js/html5shiv.min.js"></script>
  <![endif]-->
  
    
      <script type="text/javascript" id="documentation_options" data-url_root="../../../" src="../../../_static/documentation_options.js"></script>
        <script src="../../../_static/jquery.js"></script>
        <script src="../../../_static/underscore.js"></script>
        <script src="../../../_static/doctools.js"></script>
    
    <script type="text/javascript" src="../../../_static/js/theme.js"></script>

    
    <link rel="index" title="Index" href="../../../genindex/" />
    <link rel="search" title="Search" href="../../../search/" />
    <link rel="next" title="合并提交：范围和节奏" href="../merging/" />
    <link rel="prev" title="简介" href="../intro/" /> 
</head>

<body class="wy-body-for-nav">

   
  <header class="top-bar">
    

















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../../../" class="icon icon-home"></a> &raquo;</li>
        
          <li><a href="../">向 Ceph 贡献：开发者指南</a> &raquo;</li>
        
      <li>必备知识</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
          
            <a href="../../../_sources/dev/developer_guide/essentials.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
  </header>
  <div class="wy-grid-for-nav">
    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search"  style="background: #eee" >
          

          
            <a href="../../../">
          

          
            
            <img src="../../../_static/logo.png" class="logo" alt="Logo"/>
          
          </a>

          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../../../search/" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        
        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../../../start/intro/">Ceph 简介</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../install/">安装 Ceph</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../cephadm/">Cephadm</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../rados/">Ceph 存储集群</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../cephfs/">Ceph 文件系统</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../rbd/">Ceph 块设备</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../radosgw/">Ceph 对象网关</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../mgr/">Ceph 管理器守护进程</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../mgr/dashboard/">Ceph 仪表盘</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../api/">API 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../architecture/">体系结构</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../">开发者指南</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="../intro/">简介</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">必备知识</a><ul>
<li class="toctree-l3"><a class="reference internal" href="#id2">项目领导</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id3">历史</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id4">软件许可</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id5">源代码仓库</a></li>
<li class="toctree-l3"><a class="reference internal" href="#redmine">Redmine 问题跟踪器</a></li>
<li class="toctree-l3"><a class="reference internal" href="#mailing-list">邮件列表</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#ceph-development-mailing-list">Ceph Development Mailing List</a></li>
<li class="toctree-l4"><a class="reference internal" href="#ceph-client-patch-review-mailing-list">Ceph Client Patch Review Mailing List</a></li>
<li class="toctree-l4"><a class="reference internal" href="#other-ceph-mailing-lists">Other Ceph Mailing Lists</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#irc">IRC</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#id10">Registration</a></li>
<li class="toctree-l4"><a class="reference internal" href="#channels">Channels</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#submitting-patches">补丁的提交</a></li>
<li class="toctree-l3"><a class="reference internal" href="#id12">从源码构建</a></li>
<li class="toctree-l3"><a class="reference internal" href="#ccache">用 ccache 加速本地构建</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#cleaning-the-source-tree">Cleaning the Source Tree</a></li>
<li class="toctree-l4"><a class="reference internal" href="#building-ceph-with-ccache">Building Ceph with ccache</a></li>
<li class="toctree-l4"><a class="reference internal" href="#using-ccache-to-speed-up-build-times">Using ccache to Speed Up Build Times</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="#id14">开发模式的集群</a></li>
<li class="toctree-l3"><a class="reference internal" href="#kubernetes-rook">Kubernetes/Rook 开发集群</a></li>
<li class="toctree-l3"><a class="reference internal" href="#backporting">补丁移植（ Backporting ）</a></li>
<li class="toctree-l3"><a class="reference internal" href="#guidance-for-use-of-cluster-log">Guidance for use of cluster log</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="../merging/">何时、合并了什么</a></li>
<li class="toctree-l2"><a class="reference internal" href="../issue-tracker/">问题追踪器</a></li>
<li class="toctree-l2"><a class="reference internal" href="../basic-workflow/">基本工作流</a></li>
<li class="toctree-l2"><a class="reference internal" href="../tests-unit-tests/">测试：单元测试</a></li>
<li class="toctree-l2"><a class="reference internal" href="../testing_integration_tests/">测试：集成测试(Teuthology)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../running-tests-locally/">测试：在本地运行测试</a></li>
<li class="toctree-l2"><a class="reference internal" href="../dash-devel/">Ceph Dashboard 开发者文档 (之前是 HACKING.rst)</a></li>
<li class="toctree-l2"><a class="reference internal" href="../jaegertracing/">Tracing 开发者文档</a></li>
<li class="toctree-l2"><a class="reference internal" href="../../cephadm/">Cephadm 开发者文档</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../../internals/">Ceph 内幕</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../governance/">项目管理</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../foundation/">Ceph 基金会</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../ceph-volume/">ceph-volume</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../releases/general/">Ceph 版本（总目录）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../releases/">Ceph 版本（索引）</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../security/">Security</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../glossary/">Ceph 术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../jaegertracing/">Tracing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../../translation_cn/">中文版翻译资源</a></li>
</ul>

            
          
        </div>
        
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../../../">Ceph</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
<div id="dev-warning" class="admonition note">
  <p class="first admonition-title">Notice</p>
  <p class="last">This document is for a development version of Ceph.</p>
</div>
  <div id="docubetter" align="right" style="padding: 5px; font-weight: bold;">
    <a href="https://pad.ceph.com/p/Report_Documentation_Bugs">Report a Documentation Bug</a>
  </div>

  
  <div class="section" id="id1">
<h1>必备知识<a class="headerlink" href="#id1" title="Permalink to this headline">¶</a></h1>
<p>本章包含必要信息，每个 Ceph 开发者都应该知道。</p>
<div class="section" id="id2">
<h2>项目领导<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<p>Ceph 项目是由 Sage Weil 领导的。另外，各主要项目组件有自己的领导，
下面的表格罗列了所有领导、以及他们在 <a class="reference external" href="https://github.com/">GitHub</a> 上的昵称。</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 24%" />
<col style="width: 42%" />
<col style="width: 34%" />
</colgroup>
<thead>
<tr class="row-odd"><th class="head"><p>Scope</p></th>
<th class="head"><p>Lead</p></th>
<th class="head"><p>GitHub nick</p></th>
</tr>
</thead>
<tbody>
<tr class="row-even"><td><p>Ceph</p></td>
<td><p>Sage Weil</p></td>
<td><p>liewegas</p></td>
</tr>
<tr class="row-odd"><td><p>RADOS</p></td>
<td><p>Neha Ojha</p></td>
<td><p>neha-ojha</p></td>
</tr>
<tr class="row-even"><td><p>RGW</p></td>
<td><p>Yehuda Sadeh</p></td>
<td><p>yehudasa</p></td>
</tr>
<tr class="row-odd"><td><p>RGW</p></td>
<td><p>Matt Benjamin</p></td>
<td><p>mattbenjamin</p></td>
</tr>
<tr class="row-even"><td><p>RBD</p></td>
<td><p>Jason Dillaman</p></td>
<td><p>dillaman</p></td>
</tr>
<tr class="row-odd"><td><p>CephFS</p></td>
<td><p>Patrick Donnelly</p></td>
<td><p>batrick</p></td>
</tr>
<tr class="row-even"><td><p>Dashboard</p></td>
<td><p>Lenz Grimmer</p></td>
<td><p>LenzGr</p></td>
</tr>
<tr class="row-odd"><td><p>MON</p></td>
<td><p>Joao Luis</p></td>
<td><p>jecluis</p></td>
</tr>
<tr class="row-even"><td><p>Build/Ops</p></td>
<td><p>Ken Dreyer</p></td>
<td><p>ktdreyer</p></td>
</tr>
<tr class="row-odd"><td><p>Docs</p></td>
<td><p>Zac Dover</p></td>
<td><p>zdover23</p></td>
</tr>
</tbody>
</table>
<p>上述表格里的 Ceph 专有缩写在 <a class="reference internal" href="../../../architecture/"><span class="doc">体系结构</span></a> 里面有解释。</p>
</div>
<div class="section" id="id3">
<h2>历史<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<p>请翻阅 <a class="reference external" href="https://en.wikipedia.org/wiki/Ceph_%28software%29#History">Wikipedia 的 History 这章</a>。</p>
</div>
<div class="section" id="id4">
<h2>软件许可<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
<p>Ceph 是自由软件。</p>
<p>除非另有声明， Ceph 的源代码会以 LGPL2.1 或 LGPL3.0 许可证发布。其完整内容在源码树顶极目录下的 <a class="reference external" href="https://github.com/ceph/ceph/blob/master/COPYING">COPYING</a> 文件内。</p>
</div>
<div class="section" id="id5">
<h2>源代码仓库<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<p>Ceph 的源码位于 <a class="reference external" href="https://github.com/">GitHub</a> 上， <a class="reference external" href="https://github.com/ceph">Ceph “organization”</a> 下的众多软件库之一。</p>
<p>To make a meaningful contribution to the project as a developer, a working
knowledge of <a class="reference external" href="https://git-scm.com/doc">git</a> is essential.</p>
<p>Although the <a class="reference external" href="https://github.com/ceph">Ceph “organization”</a> includes several software repositories,
this document covers only one: <a class="reference external" href="https://github.com/ceph/ceph">https://github.com/ceph/ceph</a>.</p>
</div>
<div class="section" id="redmine">
<h2>Redmine 问题跟踪器<a class="headerlink" href="#redmine" title="Permalink to this headline">¶</a></h2>
<p>Although <a class="reference external" href="https://github.com/">GitHub</a> is used for code, Ceph-related issues (Bugs, Features,
Backports, Documentation, etc.) are tracked at <a class="reference external" href="http://tracker.ceph.com">http://tracker.ceph.com</a>,
which is powered by <a class="reference external" href="http://www.redmine.org">Redmine</a>.</p>
<p>The tracker has a Ceph project with a number of subprojects loosely
corresponding to the various architectural components (see
<a class="reference internal" href="../../../architecture/"><span class="doc">体系结构</span></a>).</p>
<p>Mere <a class="reference external" href="http://tracker.ceph.com/account/register">registration</a> in the tracker automatically grants permissions
sufficient to open new issues and comment on existing ones.</p>
<p>要报告软件缺陷或者提议新功能，请<a class="reference external" href="http://tracker.ceph.com/projects/ceph">跳转到 Ceph 项目</a>并点击 <a class="reference external" href="http://tracker.ceph.com/projects/ceph/issues/new">New issue</a> 。</p>
</div>
<div class="section" id="mailing-list">
<span id="id7"></span><h2>邮件列表<a class="headerlink" href="#mailing-list" title="Permalink to this headline">¶</a></h2>
<div class="section" id="ceph-development-mailing-list">
<h3>Ceph Development Mailing List<a class="headerlink" href="#ceph-development-mailing-list" title="Permalink to this headline">¶</a></h3>
<p>The <code class="docutils literal notranslate"><span class="pre">dev&#64;ceph.io</span></code> list is for discussion about the development of Ceph,
its interoperability with other technology, and the operations of the
project itself.</p>
<p>The email discussion list for Ceph development is open to all. Subscribe by
sending a message to <code class="docutils literal notranslate"><span class="pre">dev-request&#64;ceph.io</span></code> with the following line in the
body of the message:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">subscribe</span> <span class="n">ceph</span><span class="o">-</span><span class="n">devel</span>
</pre></div>
</div>
</div>
<div class="section" id="ceph-client-patch-review-mailing-list">
<h3>Ceph Client Patch Review Mailing List<a class="headerlink" href="#ceph-client-patch-review-mailing-list" title="Permalink to this headline">¶</a></h3>
<p>The <code class="docutils literal notranslate"><span class="pre">ceph-devel&#64;vger.kernel.org</span></code> list is for discussion and patch review
for the Linux kernel Ceph client component. Note that this list used to
be an all-encompassing list for developers. When searching the archives,
remember that this list contains the generic devel-ceph archives before mid-2018.</p>
<p>Subscribe to the list covering the Linux kernel Ceph client component by sending
a message to <code class="docutils literal notranslate"><span class="pre">majordomo&#64;vger.kernel.org</span></code> with the following line in the body
of the message:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">subscribe</span> <span class="n">ceph</span><span class="o">-</span><span class="n">devel</span>
</pre></div>
</div>
</div>
<div class="section" id="other-ceph-mailing-lists">
<h3>Other Ceph Mailing Lists<a class="headerlink" href="#other-ceph-mailing-lists" title="Permalink to this headline">¶</a></h3>
<p>还有<a class="reference external" href="https://ceph.com/irc/">其他与 Ceph 相关的邮件列表</a>。</p>
</div>
</div>
<div class="section" id="irc">
<span id="id9"></span><h2>IRC<a class="headerlink" href="#irc" title="Permalink to this headline">¶</a></h2>
<p>In addition to mailing lists, the Ceph community also communicates in real
time using <a class="reference external" href="http://www.irchelp.org/">Internet Relay Chat</a>.</p>
<p>The Ceph community gathers in the #ceph channel of the Open and Free Technology
Community (OFTC) IRC network.</p>
<p>Created in 1988, Internet Relay Chat (IRC) is a relay-based, real-time chat
protocol. It is mainly designed for group (many-to-many) communication in
discussion forums called channels, but also allows one-to-one communication via
private message. On IRC you can talk to many other members using Ceph, on
topics ranging from idle chit-chat to support questions. Though a channel might
have many people in it at any one time, they might not always be at their
keyboard; so if no-one responds, just wait around and someone will hopefully
answer soon enough.</p>
<div class="section" id="id10">
<h3>Registration<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h3>
<p>If you intend to use the IRC service on a continued basis, you are advised to
register an account. Registering gives you a unique IRC identity and allows you
to access channels where unregistered users have been locked out for technical
reasons.</p>
</div>
<div class="section" id="channels">
<h3>Channels<a class="headerlink" href="#channels" title="Permalink to this headline">¶</a></h3>
<p>To connect to the OFTC IRC network, download an IRC client and configure it to
connect to <code class="docutils literal notranslate"><span class="pre">irc.oftc.net</span></code>. Then join one or more of the channels. Discussions
inside #ceph are logged and archives are available online.</p>
<p>Here are the real-time discussion channels for the Ceph community:</p>
<blockquote>
<div><ul class="simple">
<li><p>#ceph</p></li>
<li><p>#ceph-devel</p></li>
<li><p>#cephfs</p></li>
<li><p>#ceph-dashboard</p></li>
<li><p>#ceph-orchestrators</p></li>
<li><p>#sepia</p></li>
</ul>
</div></blockquote>
</div>
</div>
<div class="section" id="submitting-patches">
<span id="id11"></span><h2>补丁的提交<a class="headerlink" href="#submitting-patches" title="Permalink to this headline">¶</a></h2>
<p>The canonical instructions for submitting patches are contained in the
file <a class="reference external" href="https://github.com/ceph/ceph/blob/master/CONTRIBUTING.rst">CONTRIBUTING.rst</a> in the top-level directory of the source-code
tree. There may be some overlap between this guide and that file.</p>
<p>All newcomers are encouraged to read that file carefully.</p>
</div>
<div class="section" id="id12">
<h2>从源码构建<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h2>
<p>请参考 <a class="reference internal" href="../../../install/build-ceph/"><span class="doc">构建 Ceph</span></a> 。</p>
</div>
<div class="section" id="ccache">
<h2>用 ccache 加速本地构建<a class="headerlink" href="#ccache" title="Permalink to this headline">¶</a></h2>
<p><a class="reference external" href="https://ccache.samba.org/">ccache</a> can make the process of rebuilding the ceph source tree faster.</p>
<p>Before you use <a class="reference external" href="https://ccache.samba.org/">ccache</a> to speed up your rebuilds of the ceph source tree,
make sure that your source tree is clean and will produce no build failures.
When you have a clean source tree, you can confidently use <a class="reference external" href="https://ccache.samba.org/">ccache</a>, secure in
the knowledge that you’re not using a dirty tree.</p>
<p>Old build artifacts can cause build failures. You might introduce these
artifacts unknowingly when switching from one branch to another. If you see
build errors when you attempt a local build, follow the procedure below to
clean your source tree.</p>
<div class="section" id="cleaning-the-source-tree">
<h3>Cleaning the Source Tree<a class="headerlink" href="#cleaning-the-source-tree" title="Permalink to this headline">¶</a></h3>
<div class="highlight-default notranslate"><div class="highlight"><pre><style type="text/css">
span.prompt1:before {
  content: "$ ";
}
</style><span class="prompt1">ninja clean</span>
</pre></div></div><div class="admonition note">
<p class="admonition-title">Note</p>
<p>The following commands will remove everything in the source tree
that isn’t tracked by git. Make sure to back up your log files
and configuration options before running these commands.</p>
</div>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1">git clean -fdx<span class="p">;</span> git submodule foreach git clean -fdx</span>
</pre></div></div></div>
<div class="section" id="building-ceph-with-ccache">
<h3>Building Ceph with ccache<a class="headerlink" href="#building-ceph-with-ccache" title="Permalink to this headline">¶</a></h3>
<p><code class="docutils literal notranslate"><span class="pre">ccache</span></code> is available as a package in most distros. To build ceph with
ccache, run the following command.</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1">cmake -DWITH_CCACHE<span class="o">=</span>ON ..</span>
</pre></div></div></div>
<div class="section" id="using-ccache-to-speed-up-build-times">
<h3>Using ccache to Speed Up Build Times<a class="headerlink" href="#using-ccache-to-speed-up-build-times" title="Permalink to this headline">¶</a></h3>
<p><code class="docutils literal notranslate"><span class="pre">ccache</span></code> can be used for speeding up all builds of the system. For more
details, refer to the <a class="reference external" href="https://ccache.samba.org/manual.html#_run_modes">run modes</a> section of the ccache manual. The default
settings of <code class="docutils literal notranslate"><span class="pre">ccache</span></code> can be displayed with the <code class="docutils literal notranslate"><span class="pre">ccache</span> <span class="pre">-s</span></code> command.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>We recommend overriding the <code class="docutils literal notranslate"><span class="pre">max_size</span></code>. The default is 10G.
Use a larger value, like 25G. Refer to the <a class="reference external" href="https://ccache.samba.org/manual.html#_configuration">configuration</a> section
of the ccache manual for more information.</p>
</div>
<p>To further increase the cache hit rate and reduce compile times in a
development environment, set the version information and build timestamps to
fixed values. This makes it unnecessary to rebuild the binaries that contain
this information.</p>
<p>This can be achieved by adding the following settings to the <code class="docutils literal notranslate"><span class="pre">ccache</span></code>
configuration file <code class="docutils literal notranslate"><span class="pre">ccache.conf</span></code>:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">sloppiness</span> <span class="o">=</span> <span class="n">time_macros</span>
<span class="n">run_second_cpp</span> <span class="o">=</span> <span class="n">true</span>
</pre></div>
</div>
<p>Now, set the environment variable <code class="docutils literal notranslate"><span class="pre">SOURCE_DATE_EPOCH</span></code> to a fixed value (a
UNIX timestamp) and set <code class="docutils literal notranslate"><span class="pre">ENABLE_GIT_VERSION</span></code> to <code class="docutils literal notranslate"><span class="pre">OFF</span></code> when running
<code class="docutils literal notranslate"><span class="pre">cmake</span></code>:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span class="prompt1"><span class="nb">export</span> <span class="nv">SOURCE_DATE_EPOCH</span><span class="o">=</span><span class="m">946684800</span></span>
<span class="prompt1">cmake -DWITH_CCACHE<span class="o">=</span>ON -DENABLE_GIT_VERSION<span class="o">=</span>OFF ..</span>
</pre></div></div><div class="admonition note">
<p class="admonition-title">Note</p>
<p>Binaries produced with these build options are not suitable for
production or debugging purposes, as they do not contain the correct build
time and git version information.</p>
</div>
</div>
</div>
<div class="section" id="id14">
<h2>开发模式的集群<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2>
<p>参考 <a class="reference internal" href="../../quick_guide/"><span class="doc">开发者指南（快速）</span></a> 。</p>
</div>
<div class="section" id="kubernetes-rook">
<h2>Kubernetes/Rook 开发集群<a class="headerlink" href="#kubernetes-rook" title="Permalink to this headline">¶</a></h2>
<p>参考 <a class="reference internal" href="../../kubernetes/#kubernetes-dev"><span class="std std-ref">Hacking on Ceph in Kubernetes with Rook</span></a></p>
</div>
<div class="section" id="backporting">
<span id="id15"></span><h2>补丁移植（ Backporting ）<a class="headerlink" href="#backporting" title="Permalink to this headline">¶</a></h2>
<p>All bugfixes should be merged to the <code class="docutils literal notranslate"><span class="pre">master</span></code> branch before being
backported. To flag a bugfix for backporting, make sure it has a
<a class="reference external" href="http://tracker.ceph.com/">tracker issue</a> associated with it and set the <code class="docutils literal notranslate"><span class="pre">Backport</span></code> field to a
comma-separated list of previous releases (e.g. “hammer,jewel”) that you think
need the backport.
The rest (including the actual backporting) will be taken care of by the
<a class="reference external" href="http://tracker.ceph.com/projects/ceph-releases/wiki">Stable Releases and Backports</a> team.</p>
</div>
<div class="section" id="guidance-for-use-of-cluster-log">
<h2>Guidance for use of cluster log<a class="headerlink" href="#guidance-for-use-of-cluster-log" title="Permalink to this headline">¶</a></h2>
<p>If your patches emit messages to the Ceph cluster log, please consult
this: <a class="reference internal" href="../../logging/"><span class="doc">集群日志的用法</span></a>.</p>
</div>
</div>



           </div>
           
          </div>
          <footer>
    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
        <a href="../merging/" class="btn btn-neutral float-right" title="合并提交：范围和节奏" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right" aria-hidden="true"></span></a>
        <a href="../intro/" class="btn btn-neutral float-left" title="简介" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
    </div>

  <hr/>

  <div role="contentinfo">
    <p>
        &#169; Copyright 2016, Ceph authors and contributors. Licensed under Creative Commons Attribution Share Alike 3.0 (CC-BY-SA-3.0).

    </p>
  </div> 

</footer>
        </div>
      </div>

    </section>

  </div>
  

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script>

  
  
    
   

</body>
</html>